﻿package java_45;

import java.util.Scanner;

public class code100 {
	public static void main(String[] args) {
			for (int i =1994; i <=2017; i++) {
				for (int j =3; j <=12; j++){
					for (int j2 =18; j2 <=31; j2++) {
						System.out.println(i + "-" + j + "-" + j2);
					}
					
				}
				
			}